//
//  OMAttributeTextView.h
//  EEEEEEEEEE
//
//  Created by xntech on 13-8-15.
//  Copyright (c) 2013年 xntech. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SSTextView.h"

@interface OMAttributeTextView : SSTextView
{
    
}
- (void)setFontHoleText:(UIFont *)font;
- (void)setFont:(UIFont *)font range:(NSRange)range;

- (void)setStroke:(UIColor *)color range:(NSRange)range;
- (void)setStroke:(UIColor *)color;

- (void)setHighlightColor:(UIColor *)color;
- (void)setHighlightColor:(UIColor *)color range:(NSRange)range;

- (void)setShadow:(NSShadow *)shadow;
- (void)setShadow:(NSShadow *)shadow range:(NSRange)range;

- (void)setUnderLine:(NSRange)range;

- (void)setColor:(UIColor *)textColor;
- (void)setColor:(UIColor *)textColor range:(NSRange)range;

- (void)removeStroke:(NSRange)range;
- (void)removeHighlightColor:(NSRange)range;
- (void)removeShawdow:(NSRange)range;
- (void)removeUnderLine:(NSRange)range;

- (void)setBoldForSelection;
- (void)setItalicForSelection;

-(NSRange)fullRange;

- (BOOL)isUnderLineForSelection;
- (BOOL)isHighLightForSelection;
- (BOOL)isStrokeForSelection;
- (BOOL)isShadowForSelection;
- (void)setParagraphStyle:(NSMutableParagraphStyle *)style;
@end
